diff options
Diffstat (limited to 'src/routes/(app)/[username]/invoice/+server.js')
| -rw-r--r-- | src/routes/(app)/[username]/invoice/+server.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/routes/(app)/[username]/invoice/+server.js b/src/routes/(app)/[username]/invoice/+server.js index 461d380c..5e3d0300 100644 --- a/src/routes/(app)/[username]/invoice/+server.js +++ b/src/routes/(app)/[username]/invoice/+server.js @@ -1,7 +1,7 @@ -import { auth, post } from '$lib/utils'; -import { json } from '@sveltejs/kit'; +import { auth, post } from "$lib/utils"; +import { json } from "@sveltejs/kit"; export let POST = async ({ cookies: c, request: r }) => { - let j = await r.json(); - return json(await post('/invoice', j, auth(c))); + let j = await r.json(); + return json(await post("/invoice", j, auth(c))); }; |
